#ifndef ALTMATH_EXPRESSION
#define ALTMATH_EXPRESSION

#include "expressiontreenode.h"

namespace AltMath {
     /*! Represents an algebraic expression. */
     class Expression {
     public:
          /*! Converts an expression from infix notation to postfix notation.
               @param expr The infix expression to convert.
               @param error Where resultant error messages are stored.
               @return Whether the conversion was successful. */
          static bool infixToPostfix(QString expr, QString& result, QString& error);
     };
}

#endif
